package cn.itcast.hotel.web.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页返回结果集
 *
 * @Author XiaoJiangShi
 * @Date 2022/8/6 20:15
 * @Blog blog.XiaoJiangShi.net/996.mba
 * @Description: 分页返回结果集
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    private Long total;
    private List<T> hotels;
}

